package xw.qxypt.modules.baseinfo.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import xw.qxypt.common.utils.PageUtils;
import xw.qxypt.common.utils.Query;

import xw.qxypt.modules.baseinfo.dao.LhpDataWeatherStationHistoryDao;
import xw.qxypt.modules.baseinfo.entity.LhpDataWeatherStationHistoryEntity;
import xw.qxypt.modules.baseinfo.service.LhpDataWeatherStationHistoryService;


@Service("lhpDataWeatherStationHistoryService")
public class LhpDataWeatherStationHistoryServiceImpl extends ServiceImpl<LhpDataWeatherStationHistoryDao, LhpDataWeatherStationHistoryEntity> implements LhpDataWeatherStationHistoryService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LhpDataWeatherStationHistoryEntity> page = this.page(
                new Query<LhpDataWeatherStationHistoryEntity>().getPage(params),
                new QueryWrapper<LhpDataWeatherStationHistoryEntity>()
        );

        return new PageUtils(page);
    }

}
